/**
 * ISysRoleDao.java
 * Created at 2017-1-5
 * Created by xubin
 * Copyright (C) 2017 BROADTEXT SOFTWARE, All rights reserved.
 */
package com.broadtext.rms.system.dao;

import java.util.List;

import com.broadtext.common.exp.DaoException;
import com.broadtext.rms.system.model.SysRole;


/**
 * <p>
 * ClassName: ISysRoleDao
 * </p>
 * <p>
 * Description:
 * </p>
 * <p>
 * Author: xubin
 * </p>
 * <p>
 * Date: 2017-1-5
 * </p>
 */
public interface ISysRoleDao {
    
    /**
     * 
     * <p>
     * Description: 根据用户id获取用户所属部门信息
     * </p>
     * 
     * @param userId 用户ID
     * @return List<SysRole>
     * @throws DaoException daoException
     */
    public List<SysRole> selectRoleByUserId(String userId) throws DaoException;

}
